.page-tools{
  background-color: #232627;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  user-select: none;
  padding: 6px 5px;

  &.large{
    .tool-button-icon{
      width: $tool-button-width__large;
      height: $tool-button-width__large;
    }

    .tool-button-label{
      display: block;
    }
  }
}

.tool-button-wrapper{
  display: block;
  cursor: pointer;
  color: rgba(255,255,255,.5);
  transition: color .2s, background-color .2s;
  border-radius: 6px;
  padding: 2px;
  box-sizing: border-box;
  text-align: center;

  &+&{
    margin-top: 8px;
  }

  &.active{
    color: rgba(255,255,255,.8);
    background-color: #373f45;

    .tool-button-icon__inner{
      filter: invert(1);
    }
  }
}

.tool-button-icon{
  display: flex;
  justify-content: center;
  align-items: center;
  width: $tool-button-width;
  height: $tool-button-width;
}

.tool-button-icon__inner{
  display: block;
  width: 74%;
  margin: 0 auto;
  filter: invert(0.5);
}

.tool-button-label{
  display: none;
}